﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="myOrder.aspx.cs" Inherits="web.member.myorder" %>
<%@ Register src="~/usercontrol/head.ascx" tagname="head" tagprefix="uc1" %>
<%@ Register src="~/usercontrol/foot.ascx" tagname="foot" tagprefix="uc2" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTmL 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head id="hd1" runat="server">
<title>我的订单信息</title>
</head>
<body>
<form id="form1" runat="server">
<center>
<uc1:head ID="head1" runat="server" />
<div class="list1" style="width:930px">
  <div class="list1m">
    <div class="list1mrlabel">
      <div class="listselect">我的订单</div>
    </div>
    <link href="../public/css/css_cart.css" type="text/css" rel="stylesheet" />
    
    <table width="916" border="0" cellspacing="0" cellpadding="3">
      <tr id="listlabel2">
        <td colspan="2" align="left"> &nbsp;&nbsp;&nbsp;<font color="#009966">即时查看您的订单状态</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;输入订单号查询&nbsp;&nbsp;<asp:TextBox
            ID="tbOrderCode" runat="server"></asp:TextBox>&nbsp; <asp:Button ID="btnSearch" 
                runat="server" Text="查询" onclick="btnSearch_Click" /></td>
      </tr>
      <tr>
        <td  colspan="2" align="center" height="400px;">       
        <div style="padding:7px 0;text-align:center;overflow-y:scroll;width:900px;height:100%">
        <table width="2300">
	<tr height="20">
	<th align="left">订单号</th>
	<th align="left">支付方式</th>
	<th align="left">收货人姓名</th>
	<th align="left">收货人地址</th>
	<th align="left">收货人邮编</th>
	<th align="left">收货人电话</th>
	<th align="left">收货人手机</th>
	<th align="left">收货人EMail</th>
	<th align="left">下单时间</th>
	<th align="left">财务审核说明</th>
	<th align="left">技术审核说明</th>
	<th align="left">订单处理进度</th>
	<th align="left">交货日期</th>
	<th align="left">订单状态</th>
	<th align="left">工程地址</th>
	<td align="left">操作</td>
	</tr>
	<asp:Repeater ID="rptList" runat="server" onitemcommand="rptList_ItemCommand">
	<ItemTemplate>
	<tr height="30" style=" background-color:#f7f7f7">
	<td align="left"><%#Eval("orderCode")%></td>
	<td align="left"><%#Eval("payType")%></td>
	<td align="left"><%#Eval("receiverName")%></td>
	<td align="left"><%#Eval("receiverAddress")%></td>
	<td align="left"><%#Eval("receiverPostCode")%></td>
	<td align="left"><%#Eval("receiverTelephone")%></td>
	<td align="left"><%#Eval("receiverMobile")%></td>
	<td align="left"><%#Eval("receiverEmail")%></td>
	<td align="left"><%#Eval("orderTime")%></td>
	<td align="left"><%#Eval("financeStatus")%></td>
	<td align="left"><%#Eval("technicStatus")%></td>
	<td align="left"><%#Eval("schedule")%></td>
	<td align="left"><%# Convert.ToDateTime(Eval("deadlineTime")) == DateTime.MinValue ? "" : Eval("deadlineTime", "{0:yyyy-MM-dd}") %></td>
	<td align="left"><%# web.orderstatus.getOrderStatus(Eval("deleteFlag")) %></td>
	<td align="left"><%#Eval("gongchengdizhi")%></td>
	<td align="left">
	<a href='myorderdetail.aspx?id=<%#Eval("orderId")%>' target="_blank">查看详细信息</a>
	</tr>
	</ItemTemplate>
	</asp:Repeater>
	<tr><td colspan="20">
		<webdiyer:AspNetPager ID="anp" runat="server"  onpagechanged="anp_PageChanged" 
		FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
		</webdiyer:AspNetPager>
		</td>
	</tr>
</table></div>
        </td>
      </tr>
    </table>
    
  </div>
  <div class="list1mb"><img src="/images/cart/listbgb.gif" /></div>
</div>

<uc2:foot ID="foot2" runat="server" />

</center>
    
    </form>
</body>
</html>